<h2 class="h2-title">Thông tin !!!</h2>

<?php if(isset($msg) AND $msg != ''):?>
<ul class="notification err">
    <li class="notifi_img"><img src="<?=base_url()?>assets/backend/css/images/icons/cross_circle.png"/></li>

    <li class="msg"><?=$msg?></li>

    <li class="close"><img src="<?=base_url()?>assets/backend/css/images/icons/cross_grey_small.png"/></li>

</ul><!--End of .notification -->

<?php else:?>

<div class="form_input_index">
    <ul class="form_text">
    <form action="<?=base_url()?>backend/cms/editsupport/<?= $support->support_id?>" method="POST">
        <li class="text_input">Tên</li>
        <li><input type="text" value="<?=$support->support_name?>" name="support_name" class="input-post"/></li>
        <?= form_error('support_name','<li class="errors">','</li>'); ?>

        <li class="text_input">Yahoo</li>
        <li><input type="text" value="<?=$support->support_yh?>" name="support_yh" class="input-post"/></li>
        <?= form_error('support_yh','<li class="errors">','</li>'); ?>

        <li class="text_input">Facebook</li>
        <li><input type="text" value="<?=$support->support_facebook?>" name="support_facebook" class="input-post"/></li>
        <?= form_error('support_facebook','<li class="errors">','</li>'); ?>

        <li class="text_input">Mail</li>
        <li><input type="text" value="<?=$support->support_mail?>" name="support_mail" class="input-post"/></li>
        <?= form_error('support_mail','<li class="errors">','</li>'); ?>

        <li class="text_input">Điện thoại</li>
        <li><input type="text" value="<?=$support->support_fone?>" name="support_fone" class="input-post"/></li>
        <?= form_error('support_fone','<li class="errors">','</li>'); ?>

        <li class="text_input">Trạng thái</li>
        <select name="support_status">
            <?php $return = ' selected ';?>
            <option value="1" <?php if($support->support_status == 1):  echo ' selected '; endif ?>>Hiển thị</option>
            <option value="0" <?php if($support->support_status == 0):  echo ' selected '; endif ?>>Ẩn</option>
        </select>
        <div style="clear: both;"></div>
        <input type="submit" class="sub" value="Đồng ý" name="sub"/>
        <a href="<?=base_url()?>backend/cms/support" class="bnt">Quay lại</a>
    </form>
    </ul>
</div>
<?php endif;?>